package com.ruoyi.project.erp.member.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 会员对象 erp_member
 * 
 * @author ruoyi
 * @date 2021-08-08
 */

@Data
public class ErpMember extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户openid */
    private String memberOpenId;

    /** 会员ID */
    @Excel(name = "会员ID")
    private Long memberId;

    /** 上级ID */
    @Excel(name = "上级ID")
    private String parentId;

    /** 创建者ID */
    @Excel(name = "创建者ID")
    private Long createUserId;

    /** 更新者ID */
    @Excel(name = "更新者ID")
    private Long updateUserId;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String memberNickname;

    /** 用户性别(0=未知,1=男,2=女) */
    @Excel(name = "用户性别(0=未知,1=男,2=女)")
    private Integer memberSex;

    /** 省份 */
    @Excel(name = "省份")
    private String memberProvince;

    /** 区域 */
    @Excel(name = "区域")
    private String memberDistrict;

    /** 城市编号 */
    @Excel(name = "城市编号")
    private String memberCityId;

    /** 城市 */
    @Excel(name = "城市")
    private String memberCity;

    /** 年龄 */
    @Excel(name = "年龄")
    private String memberAge;

    /** 国家 */
    @Excel(name = "国家")
    private String memberCountry;

    /** 头像 */
    @Excel(name = "头像")
    private String memberHeadImgUrl;

    /** 手机号 */
    @Excel(name = "手机号")
    private String memberMobile;

    /** 姓名 */
    @Excel(name = "姓名")
    private String memberName;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String memberAddress;

    /** 最后登录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后登录时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date memberLastLoginTime;

    /** 纬度 */
    @Excel(name = "纬度")
    private Long latitude;

    /** 经度 */
    @Excel(name = "经度")
    private Long longitude;

    /** 会员状态(1=正常,2=冻结,3=删除) */
    @Excel(name = "会员状态(1=正常,2=冻结,3=删除)")
    private Integer memberStatus;

    /** 会员类型 */
    @Excel(name = "会员类型")
    private Integer memberType;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** token */
    @Excel(name = "token")
    private String token;


}
